package com.ssy.lingxi.after.sale.repository;

import com.ssy.lingxi.after.sale.entity.RepairGoodsDetailAssociatedDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


/**
 *  维修货物物料信息
 * @author ds
 * @version 2.0.0
 * @date 2021/4/28
 */
public interface RepairGoodsDetailMaterielRepository extends JpaRepository<RepairGoodsDetailAssociatedDO, Long>, JpaSpecificationExecutor<RepairGoodsDetailAssociatedDO> {

    /**
     * 根据维修id删除所有维修货物物料信息
     * @author ds
     * @date 2021/4/28
     * @param repairId:
     * @return void
     **/
    void deleteAllByRepairId(Long repairId);
}
